package com.ruoyi.system.domain.carPark;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 进场记录对象 fz_car_in_out
 * 
 * @author ruoyi
 * @date 2020-03-03
 */
public class FzCarInOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 进出场id */
    private String carInOutId;

    /** 小区id */
    @Excel(name = "小区id")
    private String cId;

    /** 车辆id */
    @Excel(name = "车辆id")
    private String carId;

    /** 停车场id */
    @Excel(name = "停车场id")
    private String carParkId;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Integer carState;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enterTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exitTime;

    /** 应交费用 */
    @Excel(name = "应交费用")
    private Double payCost;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String createName;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateName;

    /** 数据状态，详细参考c_status表，0, 在用 1失效 */
    @Excel(name = "数据状态，详细参考c_status表，0, 在用 1失效")
    private String statusCd;

    public void setCarInOutId(String carInOutId) 
    {
        this.carInOutId = carInOutId;
    }

    public String getCarInOutId() 
    {
        return carInOutId;
    }
    public void setcId(String cId) 
    {
        this.cId = cId;
    }

    public String getcId() 
    {
        return cId;
    }
    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarParkId(String carParkId) 
    {
        this.carParkId = carParkId;
    }

    public String getCarParkId() 
    {
        return carParkId;
    }
    public void setCarState(Integer carState) 
    {
        this.carState = carState;
    }

    public Integer getCarState() 
    {
        return carState;
    }
    public void setEnterTime(Date enterTime) 
    {
        this.enterTime = enterTime;
    }

    public Date getEnterTime() 
    {
        return enterTime;
    }
    public void setExitTime(Date exitTime) 
    {
        this.exitTime = exitTime;
    }

    public Date getExitTime() 
    {
        return exitTime;
    }
    public void setPayCost(Double payCost) 
    {
        this.payCost = payCost;
    }

    public Double getPayCost() 
    {
        return payCost;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carInOutId", getCarInOutId())
            .append("cId", getcId())
            .append("carId", getCarId())
            .append("carParkId", getCarParkId())
            .append("carState", getCarState())
            .append("enterTime", getEnterTime())
            .append("exitTime", getExitTime())
            .append("payCost", getPayCost())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createName", getCreateName())
            .append("updateTime", getUpdateTime())
            .append("updateName", getUpdateName())
            .append("statusCd", getStatusCd())
            .toString();
    }
}
